import pyi_splash  # type: ignore
import sys
from mainform import MainForm
from PySide6.QtWidgets import QApplication


def main():
    app = QApplication(sys.argv)
    form = MainForm()
    form.show()
    sys.exit(app.exec())


if __name__ == "__main__":
    pyi_splash.close()
    main()
